package com.hj.enroll.service;

import com.hj.enroll.pojo.User;

import java.util.List;

public interface UserService {

    //查看所有报名学生
    List<User> findAllUser();
    //添加报名用户
    int insertUser(User user);
    //修改用户
    int updateUser(User user);
    //添加面评
    int addComment(String name,String comment);
    //根据名字查找用户
    User searchUser(String name);
    //移除用户
    int deleteUser(String name);
}
